package io.xccit.pojo.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.xccit.pojo.user.Address;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author CH_ywx
 * @date 2023-09-21
 * @description 地址添加参数接收
 */
@Data
public class AddressAddParam {

    @JsonProperty("user_id")
    @NotNull
    private Integer userId;
    @NotNull
    private Address add;
}
